package com.juphoon.oauth.core.properties;

import lombok.Data;

/**
 * @author rongbin.huang
 * @create 2018-06-28 上午10:57
 **/
@Data
public class OAuth2Properties {

    private boolean multiDevice;

    private int accessTokenValiditySeconds = 60 * 60;

    private int refreshTokenValiditySeconds = 60 * 60 * 24;

    private String usernameParameter = "username";

    private String passwordParameter = "password";

    private String clientId = "juphoon";

    private String secret = "juphoon";

    private String loginUrl = "/app/login";

    private String permitUrls = "/app/register";

    private String storeType = "jwt";

    private String clientDb = "memory";


}
